import { copyConfig } from './util'

let configuration = {
  storageLocation: 'localStorage',
  isShowConsole: false,
  logMaxLength: 100,
  name: '$$logger_base'
}


export function setConfigure (option = {}) {
  copyConfig(configuration, option)
}


export function getConfigure () {
  return Object.assign(configuration)
}

